package com.xc.freeapp.entity;

import java.util.Date;

import com.wordnik.swagger.annotations.ApiModelProperty;

public class UserNotification {
	@ApiModelProperty(value="消息id")
    private Integer id;
	@ApiModelProperty(value="用户id")
    private Integer userid;
	@ApiModelProperty(value="模版id")
    private Integer notificationid;
	@ApiModelProperty(value="已读状态：1：已读  0 未读")
    private String isread;
	@ApiModelProperty(value="状态： 1 ：有效  0：无效")
    private String status;
	@ApiModelProperty(value="")
    private Date createtime;
	@ApiModelProperty(value="消息id")
    private Date updatetime;
	@ApiModelProperty(value="标题")
    private String title;
	@ApiModelProperty(value="提示部分正文")
    private String ticker;
	@ApiModelProperty(value="正文内容")
    private String content;
	@ApiModelProperty(value="消息类型：1物流  2系统")
    private String type;
	@ApiModelProperty(value="内容类型：1：文本   2：网页链接   3：其他")
    private String contenttype;
	@ApiModelProperty(value="动作")
    private String action;
	@ApiModelProperty(value="声音")
    private String soundtype;
	@ApiModelProperty(value="activity")
    private String openactivity;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getNotificationid() {
        return notificationid;
    }

    public void setNotificationid(Integer notificationid) {
        this.notificationid = notificationid;
    }

    public String getIsread() {
        return isread;
    }

    public void setIsread(String isread) {
        this.isread = isread == null ? null : isread.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getTicker() {
        return ticker;
    }

    public void setTicker(String ticker) {
        this.ticker = ticker == null ? null : ticker.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getContenttype() {
        return contenttype;
    }

    public void setContenttype(String contenttype) {
        this.contenttype = contenttype == null ? null : contenttype.trim();
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action == null ? null : action.trim();
    }

    public String getSoundtype() {
        return soundtype;
    }

    public void setSoundtype(String soundtype) {
        this.soundtype = soundtype == null ? null : soundtype.trim();
    }

    public String getOpenactivity() {
        return openactivity;
    }

    public void setOpenactivity(String openactivity) {
        this.openactivity = openactivity == null ? null : openactivity.trim();
    }
}